package org.jetlinks.pro.cassandra.metadata;

import org.hswebframework.ezorm.rdb.metadata.RDBColumnMetadata;
import org.hswebframework.ezorm.rdb.metadata.TableOrViewMetadata;
import org.hswebframework.ezorm.rdb.operator.builder.fragments.query.QueryTermsFragmentBuilder;

import java.util.Collections;
import java.util.Set;

public class CassandraQueryTermsFragmentBuilder extends QueryTermsFragmentBuilder {
    protected CassandraQueryTermsFragmentBuilder(TableOrViewMetadata metaData) {
        super(metaData, Collections.emptySet());
    }

    @Override
    protected String createColumnFullName(RDBColumnMetadata column, String fromAlias) {
        return column.getQuoteName();
    }
}
